home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / AMOS / AMOSList0597 / AMOSLIST / text0034.txt < prev    next >
Encoding:
Text File  |  1997-06-01  |  1.3 KB  |  31 lines

  1. On 09-May-97, Hakan Venderlof wrote:
  2. >I would like to see some suggestions how to highlight a word printed on
  3. screen
  4. >when the mouse pointer is over it. 
  5. >Say i've printed
  6. >Pen 1
  7. >locate 1,1 : Print"AAA"
  8. >locate 1,2 : Print"BBB"
  9. >Now I want the text to be rewritten with Pen 2
  10. >only when the pointer is over it.
  11. >I did find some ways to do it but the text always flickers...
  12.  
  13. You need to add a check into your highlight code that checks to see if the
  14. text is currently highlighted and, if so, jumps out of the code before it
  15. redoes it.
  16.  
  17. Well met and godspeed,
  18.                       Giark
  19.                                            joehick@golden.net
  20.                              http://www.golden.net/~joehick/fbn/index.html
  21.      ______  ______    _____  .------------------------------------------.
  22.     / ____/ / __  /   / ___ \ !     AMOS games, utilities, demos, etc.   !
  23.    / /__   / /_/ /   / /  / / !                                          !
  24.   / ___/  / ___  |  / /  / /  !       CyberSpace BBS (519)579-0072       !
  25.  / /     / /__/ /  / /  / /   !     on A2000 060/50MHz (519)579-0173     !
  26. /_/     /______/  /_/  /_/    !                                          !
  27.    Fly By Nite Videe-Oh!      !  FBN Amiga 500 020 14MHz 1C/5F RAM 3.1OS !
  28.                               `------------------------------------------'
  29.  
  30.  
  31.